package com.fzb.forum4j.service.api;

import java.util.List;
import java.util.Map;

import com.fzb.forum4j.po.Comment;
import com.fzb.forum4j.po.QueryMode;
import com.fzb.forum4j.po.User;

public interface IUserService extends IBaseService<User> {

	boolean login(QueryMode<User> t);

	void getBlogHomeData(QueryMode<User> queryMode);

	Boolean existsUserNameAndEmail(User user);

	User loadUserByUserName(String userName);

	void disposeCommentContext(QueryMode<Comment> qmd);
	
	void getMessageByUserId(QueryMode<User> qmd);

	void disposeArticleContext(QueryMode qmd);

	List<Map<String,String>> getHotUser();
	
}
